package band.wukong.practice.webservice.kh.sample10;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.xml.ws.Endpoint;

/**
 * wsimport -keep -verbose -d d:/ -encoding utf-8 http://localhost:9000/wkp/webservice/kh/sample10?wsdl
 *
 * @author wukong(wukonggg@139.com)
 */
public class BinaryServer {

    private static final Logger logger = LoggerFactory.getLogger(BinaryServer.class);

    public static void main(String[] args) {
        Endpoint.publish(BinaryConst.SERVICE_URL, new BinaryServiceImpl());
        logger.info("Server started.");
        logger.info("WSDL = " + BinaryConst.SERVICE_WSDL);
    }
}
